<%-- 
    Document   : user
    Created on : Jun 10, 2013, 2:35:04 PM
    Author     : Thuc
--%>

<%@ page contentType="text/html; charset=UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/xml" prefix="x"%>
<jsp:include page="header-sidebar.jsp">
    <jsp:param name="title" value="User"/>
</jsp:include>
<c:set var="userId" value="${USER.userId}"/>

<div id="content">
    <div id="shadow">

        <a href="validateToPDF.action" target="_blank">
            <div id="pdf-download">
                <img src="img/Oficina-PDF-icon.png"/>
                <h3>Download PDF</h3>
                <p>Danh sách user nhiều feed</p>
            </div></a>

        <h2 class="homeTitle">User</h2>
        <div id="notify">
            <font color="green"><h3>${requestScope.notify}</h3></font>
        </div>
        <div id="feed-content">
            <c:import url="../WEB-INF/dataXML/user.xml" var="xmlDoc" charEncoding="UTF-8"/>
            <c:import url="../WEB-INF/xsl/userManagement.xsl" var="xslDoc" charEncoding="UTF-8"/>

            <x:transform xml="${xmlDoc}" xslt="${xslDoc}">
                <x:param name="currentId" value="${userId}"/>
            </x:transform>
        </div>
        <b id="content-after"></b> </div>
</div>

<script type="text/javascript" src="../js/jsUtils.js"></script>
<script type="text/javascript">
    activeCurrentNav("userNav");

    setTimeout(function(){
        document.getElementById("notify").hidden = true;
    }, 2*1000);
</script>

<jsp:include page="footer.jsp"/>
